package com.pan.entity;


import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "animal")
@Entity
@Data
public class Animal {

    @Id
    @Column(name="id")
    private String id;
    @Column(name="name")
    private String name;
    @Column(name="age")
    private String age;
    @Column(name="creator")
    private String creator;
    @Column(name="creation_time")
    private Date creationTime;

}
